#ifndef INCLUDE_COND_H_
#define INCLUDE_COND_H_

#include "lock.h"
#include "queue.h"

typedef struct condition
{
    pid_t block_task[NUM_MAX_TASK];
    uint32_t block_task_count;
    
} condition_t;

void do_condition_init(condition_t *condition);
void do_condition_wait(lock_id_t lock_id, condition_t *condition);
void do_condition_signal(condition_t *condition);
void do_condition_broadcast(condition_t *condition);

#endif